﻿<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
    <!--作为公共模版分离出去-->
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="Bookmark" href="admin/images/rookieCs.ico" />
    <link rel="Shortcut Icon" href="admin/images/rookieCs.ico" />
    <link rel="stylesheet" type="text/css" href="admin/static/h-ui/css/H-ui.my.css" />
    <link rel="stylesheet" type="text/css" href="admin/static/h-ui.admin.pro.iframe/css/h-ui.admin.pro.iframe.min.css" />
    <link rel="stylesheet" type="text/css" href="admin/lib/Hui-iconfont/1.0.9/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="admin/static/h-ui.admin.pro.iframe/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="admin/lib/jquery-easyui/1.7.0/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="admin/lib/jquery-easyui/1.7.0/themes/icon.css" />
    <link rel="stylesheet" type="text/css" href="admin/css/iconfont/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="admin/css/mywork.css" />
    <script type="text/javascript" src="admin/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="admin/lib/layer/3.1.1/layer.js"></script>
    <script type="text/javascript" src="admin/lib/jquery-easyui/1.7.0/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="admin/lib/jquery-easyui/1.7.0/plugins/datagrid-detailview.js"></script>
    <script type="text/javascript" src="admin/lib/jquery-easyui/1.7.0/locale/easyui-lang-zh_CN.js"></script>
    <script>document.write('<script type="text/javascript" src="admin/js/common.js?v='+ Date.now() +'"><\/script>');</script>
    <script>document.write('<script type="text/javascript" src="admin/js/formatter.js?v='+ Date.now() +'"><\/script>');</script>
    <!--作为公共模版分离出去-->
    <title>抖音号信息</title>
</head>
<body style="width: auto; height: auto; font-family: 微软雅黑,serif">
<!--表单元素-->
<div style="padding: 10px 10px 50px 50px">
    <form id="formInfo" method="post" style="display: none">
        <input id="id" name="id" type="hidden">
        <input id="type" name="type" value="3" type="hidden">
        <table class="formTable">
            <tr>
                <td class="labelTd">达人类别：</td>
                <td class="valueTd"><input id="label" name="label"/></td>
            </tr>
            <tr>
                <td class="labelTd">达人昵称：</td>
                <td class="valueTd"><input id="name" name="name" /></td>
            </tr>
            <tr>
                <td class="labelTd">星图ID：</td>
                <td class="valueTd"><input id="weChatNo" name="weChatNo" /></td>
            </tr>
            <tr>
                <td class="labelTd">粉丝数量(万)：</td>
                <td class="valueTd"><input id="fansSheets" name="fansSheets"/></td>
            </tr>
            <tr>
                <td class="labelTd">返点比例(%)：</td>
                <td class="valueTd"><input id="rebatesRate" name="rebatesRate"/></td>
            </tr>
            <tr>
                <td class="labelTd">公司主体：</td>
                <td class="valueTd"><input id="hostCompany" name="hostCompany" /></td>
            </tr>
            <tr>
                <td class="labelTd">联系方式：</td>
                <td class="valueTd"><input id="hostContact" name="hostContact" /></td>
            </tr>
            <tr>
                <td class="labelTd">备注信息：</td>
                <td class="valueTd"><input id="createDesc" name="createDesc"/></td>
            </tr>
        </table>
    </form>
</div>
<script type="text/javascript">
    //准备函数
    $(function () {
        initForm();
    });

    //表单元素初始化
    function initForm() {
        $("#label").combobox({//达人类别
            width: 250,
            required: true,
            editable: false,
            valueField: 'labelName',
            textField: 'labelName',
            url: "medium/getMediumLabelList?type=3",
            method: "GET",
            loadFilter: function (data) {
                return data.bizData;
            }
        });
        $("#name").textbox({//达人昵称
            width: 250,
            required: true,
            validType: "length[1,100]"
        });
        $("#weChatNo").textbox({//星图ID
            width: 250,
            required: true,
            validType: "length[1,20]"
        });
        $("input",$("#weChatNo").next("span")).blur(function() {
            $("#weChatNo").textbox("setValue", $("#weChatNo").textbox("getValue").trim());
        });
        $("#fansSheets").numberbox({//粉丝数量
            width: 250,
            required: true,
            precision: 4,
            validType: "length[1,20]"
        });
        $("#rebatesRate").numberbox({//返点比例
            width: 250,
            required: true,
            precision: 2,
            max: 100.00,
            min: 0.00,
            validType: "length[1,6]",
            value: 0
        });
        $("#hostCompany").textbox({//公司主体
            width: 250,
            validType: "length[0,100]"
        });
        $("#hostContact").textbox({//联系方式
            width: 250,
            validType: "length[0,50]"
        });
        $("#createDesc").textbox({
            width: 250,
            height: 70,
            multiline: true,
            validType: "length[0,200]"
        });
        $("#formInfo").show();
    }
</script>
</body>
</html>